import request from '@/utils/request'

// 查询灭火救援岗位技能科目项目列表
export function listFirefighterFire(query) {
  return request({
    url: '/system/FirefighterFire/list',
    method: 'get',
    params: query
  })
}

// 查询灭火救援岗位技能科目项目详细
export function getFirefighterFire(id) {
  return request({
    url: '/system/FirefighterFire/' + id,
    method: 'get'
  })
}

// 新增灭火救援岗位技能科目项目
export function addFirefighterFire(data) {
  return request({
    url: '/system/FirefighterFire',
    method: 'post',
    data: data
  })
}

// 修改灭火救援岗位技能科目项目
export function updateFirefighterFire(data) {
  return request({
    url: '/system/FirefighterFire',
    method: 'put',
    data: data
  })
}

// 删除灭火救援岗位技能科目项目
export function delFirefighterFire(id) {
  return request({
    url: '/system/FirefighterFire/' + id,
    method: 'delete'
  })
}
